package com.hutianao.gqgl.organ.service;

import com.hutianao.gqgl.mybatis.entity.PtOrganEntity;
import com.hutianao.gqgl.mybatis.flexigrid.PaddingEntity;
import com.hutianao.gqgl.mybatis.flexigrid.PadingRstType;
import com.hutianao.gqgl.organ.entity.OrganBindEntity;
import com.hutianao.gqgl.organ.entity.SearchOrganEntity;
import com.hutianao.gqgl.organ.entity.SearchResultEntity;

public interface OrganService {

    String addOrganInfo(PtOrganEntity ptOrganEntity);

    String getAllOrgan();

    PadingRstType<SearchResultEntity> queryOrganInfoListByPage(SearchOrganEntity search, PaddingEntity padding);

    String organBind(OrganBindEntity organBindEntity);

    String organUpdate(OrganBindEntity organBindEntity);

    String organUnBound(PtOrganEntity ptOrganEntity);

    String deleteOrganById(String organUuidArray);

    String updateOrganInfo(PtOrganEntity ptOrganEntity);

    PtOrganEntity queryOrganListById(String organUuid);

    String deleteOrganInfoByMenuId(String organUuid);

//alan
    void updateDictionaryInfo(PtOrganEntity ptOrganEntity);
//alan
    void deleteDictionaryInfoByDictionaryId(String dictId);
}
